package com.account.book.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@ApiModel(value = "查询金额响应参数", description = "查询金额响应参数")
public class BookMoneyResVo {
    @ApiModelProperty("记账时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date bookTime;

    @ApiModelProperty("收入金额")
    private BigDecimal incomeMoney;

    @ApiModelProperty("支出金额")
    private BigDecimal disburseMoney;

    @ApiModelProperty("详情数据")
    private List<BookMoneyResSubVo> bookMoneyResSubVoList;
}
